Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@crave/farmblocks-icon
Advanced tools
A SVG icon library for React
npm install @crave/farmblocks-icon
⚠️If you're using the icons in a package, consider setting it as a peer dependency to avoid duplication of the icons in case another package uses a different version
import { SmPlaceholder } from "@crave/farmblocks-icon";
export default () => <SmPlaceholder />;
You can see a list of all available icons in https://cravefood.github.io/farmblocks/iframe.html?id=assets-icons--all-icons
For more examples and details on the available props, read the docs.
To add new icons, add the files to the src/svg/{group name}/
folder and run yarn buildJSX
.
Be sure to follow the naming rules:
Sm
, Md
, or Lg
. This indicates the designed size (24px
, 40px
, or 110px
, respectively). Albeit the vector files can be rendered at any size, they can vary in the level of details.CamelCase
convention. The filenames will be used to create the React components.MIT
FAQs
A SVG icon library for React
We found that @crave/farmblocks-icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.